home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d20 / sqsh_100.arc / SSTAT.ARC / SSTATP.H < prev    next >
C/C++ Source or Header  |  1991-11-06  |  1KB  |  51 lines

  1. struct _nodtot
  2. {
  3.   NETADDR node;
  4.   double total_percent_bytes;   /* Amount this node pays of total bill.     */
  5.   double total_percent_msgs;    /* Amount this node pays of total bill.     */
  6.   struct _nodtot *next;
  7. };
  8.  
  9. struct _stlist
  10. {
  11.   NETADDR node;                 /* Address of this node                     */
  12.  
  13.   dword out_msgs;               /* Total # of msgs sent to this node        */
  14.   dword out_bytes;              /* Total # of bytes sent to this node       */
  15.   struct _stlist *next;
  16. };
  17.  
  18. struct _ahlist
  19. {
  20.   char tag[AH_TAGLEN];
  21.  
  22.   dword in_msgs;
  23.   dword in_bytes;
  24.  
  25.   dword total_out_bytes;
  26.   dword total_out_msgs;
  27.  
  28.   struct _stlist *slist;
  29.   struct _ahlist *next;
  30. };
  31.  
  32. static struct _ahlist *ahlist=NULL;
  33. static struct _nodtot *nodtot=NULL;
  34.  
  35. struct _nodelist
  36. {
  37.   NETADDR n;
  38.   struct _nodelist *next;
  39. };
  40.  
  41. struct _arealist
  42. {
  43.   char *tag;
  44.   struct _arealist *next;
  45. };
  46.  
  47. static struct _sscfg
  48. {
  49.   struct _nodelist *node;
  50.   struct _arealist *area;
  51. } sc;